#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
	long long n;
	cin >> n;
	int count = 1;	
    
	while (n != 1) {
		count++;
		n /= 2;
	}
	cout << count << endl;
	return 0;
}